projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
331636c
)
* dispnew.c (direct_output_for_insert): By the time this function
author
Jim Blandy
<jimb@redhat.com>
Sun, 18 Jul 1993 06:23:32 +0000
(06:23 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Sun, 18 Jul 1993 06:23:32 +0000
(06:23 +0000)
is called, we have already inserted the character into the buffer;
the proper buffer position to pass to compute_char_face is point
- 1, not point.
src/dispnew.c
patch
|
blob
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index ed392e0eddf7693eca106e640c4df597045633cd..32c89674b44c1e9a70d65ff4b0bbb342e2f8295d 100644
(file)
--- a/
src/dispnew.c
+++ b/
src/dispnew.c
@@
-879,7
+879,7
@@
direct_output_for_insert (g)
{
#ifdef HAVE_X_WINDOWS
int dummy;
- int face = compute_char_face (frame, w, point, -1, -1, &dummy);
+ int face = compute_char_face (frame, w, point
- 1
, -1, -1, &dummy);
#else
int face = 0;
#endif